package com.realgodo.site.entity.application.present;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.realgodo.site.entity.IdEntity;

/**
 * 礼物实体
 */
@Entity(name = "Present")
@Table(name = "present")
public class Present extends IdEntity {

	private static final long serialVersionUID = -5100409925819730011L;

	private String name;
	/** 所需积分 */
	private int point;

	/** 图片地址 */
	private String path;

	@Column(name = "name", length = 50)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "point")
	public int getPoint() {
		return point;
	}

	public void setPoint(int point) {
		this.point = point;
	}

	@Column(name = "path", length = 100)
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

}
